package com.luguangtao.dao;

import com.luguangtao.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @类名: com.luguangtao.dao
 * @作者: lgt
 * @创建时间: 2019-12-16 09:09
 * @描述:
 **/
public interface UserDao extends JpaRepository<User,Integer> {
   /* //投保人查询
    Page<User> findByUsernameLike(String username);
    //受益人查询
    Page<User> findByAssurednameLike(String assuredname);
    //呗保护人查询
    Page<User> findByBenefitnameLike(String benefitname);*/

}
